home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10389 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.8 KB  |  54 lines

  1. Newsgroups: comp.lang.c++
  2. Path: peer-news.britain.eu.net!info!news
  3. From: Joerg <mspjoerg@swansea.ac.uk>
  4. Subject: Re: HELP! Compile Error!
  5. X-Nntp-Posting-Host: msr08.swan.ac.uk
  6. Content-Type: text/plain; charset=us-ascii
  7. Message-ID: <Dnwutz.5wy@info.swan.ac.uk>
  8. Sender: news@info.swan.ac.uk
  9. Content-Transfer-Encoding: quoted-printable
  10. Organization: EBMS, UW Swansea
  11. References: <4hi7vc$ggd@newsbf02.news.aol.com> <NEWTNews.12980.826064244.hampton@interramp.com>
  12. Mime-Version: 1.0
  13. Date: Thu, 7 Mar 1996 18:46:47 GMT
  14. X-Mailer: Mozilla 1.1N (Windows; I; 16bit)
  15.  
  16. us011245@interramp.com wrote:
  17. >In article <4hi7vc$ggd@newsbf02.news.aol.com>, <mrbig0233@aol.com> writes:
  18. >> I am an 11-year-old (yes, no typo) programmer, and I am trying to write a>> sorting program for a merit badge. I compile the prog=
  19. ram, and the error>> is:>> >> SORT.CPP 7: Declaration terminated incorrectly>> >> This is the code:>> >> #include<conio.h>>> #includ=
  20. e<stdio.h>>> #include<stdlib.h>>> #include<time.h>>> #include<string.h>>> >> {>> >>     main()>>     randomize(num1);>>     randomize(num2);[=
  21. snip]
  22.  
  23.  
  24. >>     return;>> }>>     >> Please reply to this message! I NEED AN ANSWER!>> Please, in your answer, also tell me how to fix it.>> >> E-M=
  25. ail:>> >> MrBig0233@aol.com>> 
  26. >
  27. >MrBig,
  28. >Your calls to strcmp look a little strange, why don't you start there.
  29. >Luther Hampton
  30. >
  31.  
  32.  
  33. I rather think he might have got something wrong at the very start. Look 
  34. at the first "{"...
  35.  
  36. Joerg
  37.  
  38. -- 
  39.  
  40.  
  41.  
  42. ----------------------------------------------------------------------
  43. Joerg Wegener
  44. E-Mail: mspjoerg@swansea.ac.uk
  45. All opinions expressed are my own.
  46.  
  47. PGP key available on request.
  48.  
  49.    "Reason can answer questions, but imagination has to ask them."
  50.           - Ralph N. Gerard
  51. ----------------------------------------------------------------------
  52.  
  53.  
  54.